.class public Lcom/estrongs/android/ui/pcs/d;
.super Lcom/estrongs/android/ui/pcs/h;
.source "PCSExitDialog.java"


# instance fields
.field private d:Landroid/view/View;

.field private e:Landroid/content/Context;

.field private f:Landroid/widget/Button;

.field private g:Landroid/widget/Button;

.field private h:Landroid/widget/Button;

.field private i:Z

.field private j:Lcom/estrongs/android/ui/pcs/h;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/estrongs/android/ui/pcs/h;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/pcs/h;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/ui/pcs/d;->i:Z

    .line 3
    iput-object p2, p0, Lcom/estrongs/android/ui/pcs/d;->j:Lcom/estrongs/android/ui/pcs/h;

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/ui/pcs/d;->e:Landroid/content/Context;

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    .line 6
    invoke-direct {p0}, Lcom/estrongs/android/ui/pcs/d;->init()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/pcs/d;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/pcs/d;->d()V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/pcs/d;)Lcom/estrongs/android/ui/pcs/h;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/pcs/d;->j:Lcom/estrongs/android/ui/pcs/h;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/pcs/d;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/pcs/d;->i:Z

    return p0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/pcs/d;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/pcs/d;->e:Landroid/content/Context;

    return-object p0
.end method

.method private d()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->j:Lcom/estrongs/android/ui/pcs/h;

    invoke-virtual {v0}, Landroid/app/Dialog;->cancel()V

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/pcs/h;->dismiss()V

    .line 4
    iget-boolean v0, p0, Lcom/estrongs/android/ui/pcs/d;->i:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/h;->b:Lcom/estrongs/android/ui/pcs/e$c;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 5
    invoke-interface {v0, v1, v2, v2}, Lcom/estrongs/android/ui/pcs/e$c;->a(ZLjava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method private init()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->e:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c02bf

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->d:Landroid/view/View;

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/pcs/h;->setContentView(Landroid/view/View;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->d:Landroid/view/View;

    const v1, 0x7f0901cb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->f:Landroid/widget/Button;

    .line 4
    new-instance v1, Lcom/estrongs/android/ui/pcs/d$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/pcs/d$a;-><init>(Lcom/estrongs/android/ui/pcs/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->d:Landroid/view/View;

    const v1, 0x7f0901cc

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->g:Landroid/widget/Button;

    .line 6
    new-instance v1, Lcom/estrongs/android/ui/pcs/d$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/pcs/d$b;-><init>(Lcom/estrongs/android/ui/pcs/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f11041a

    .line 7
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    const v0, 0x7f110045

    .line 8
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/ui/pcs/d$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/pcs/d$c;-><init>(Lcom/estrongs/android/ui/pcs/d;)V

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    const v0, 0x7f11092d

    .line 9
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/ui/pcs/d$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/pcs/d$d;-><init>(Lcom/estrongs/android/ui/pcs/d;)V

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->d:Landroid/view/View;

    const v1, 0x7f0901cf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->h:Landroid/widget/Button;

    .line 11
    new-instance v1, Lcom/estrongs/android/ui/pcs/d$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/pcs/d$e;-><init>(Lcom/estrongs/android/ui/pcs/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public c()V
    .locals 2

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/ui/pcs/d;->i:Z

    const v0, 0x7f11041e

    .line 3
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->d:Landroid/view/View;

    const v1, 0x7f090b50

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f1107d9

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/pcs/d;->h:Landroid/widget/Button;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    return-void
.end method

.method public onBackPressed()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/pcs/d;->d()V

    .line 2
    invoke-super {p0}, Landroid/app/Dialog;->onBackPressed()V

    return-void
.end method
